/*
 * Copyright (C) 2025 Tsingteng MicroSystem
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
#ifndef _NFA_HCI_API_H_
#define _NFA_HCI_API_H_
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#include "nfa_base.h"

typedef void (*tHCI_TRANSACTION_CB)(const uint8_t *aid, const uint16_t aid_length,
                                    const uint8_t *data, const uint16_t data_length,
                                    const char *src_nfcee);

/**
 * @brief 注册hci event回调，用于往更上层上报hci event
 * @param cb 回调函数指针
 */
void nfa_hci_register_transaction_event_cb(tHCI_TRANSACTION_CB cb);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _NFA_HCI_API_H_ */
